3.12.87 \(\int \frac {\cos ^2(c+d x) \cot ^2(c+d x)}{(a+b \sin (c+d x))^{5/2}} \, dx\) [1187]
Optimal. Leaf size=346 \[ \frac {\left (2 a^2-5 b^2\right ) \cos (c+d x)}{3 a^2 b d (a+b \sin (c+d x))^{3/2}}-\frac {\cot (c+d x)}{a d (a+b \sin (c+d x))^{3/2}}-\frac {\left (4 a^2+15 b^2\right ) \cos (c+d x)}{3 a^3 b d \sqrt {a+b \sin (c+d x)}}-\frac {\left (4 a^2+15 b^2\right ) E\left (\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {a+b \sin (c+d x)}}{3 a^3 b^2 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}+\frac {\left (4 a^2+5 b^2\right ) F\left (\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}{3 a^2 b^2 d \sqrt {a+b \sin (c+d x)}}-\frac {5 b \Pi \left (2;\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}{a^3 d \sqrt {a+b \sin (c+d x)}} \]
[Out]
1/3*(2*a^2-5*b^2)*cos(d*x+c)/a^2/b/d/(a+b*sin(d*x+c))^(3/2)-cot(d*x+c)/a/d/(a+b*sin(d*x+c))^(3/2)-1/3*(4*a^2+1
5*b^2)*cos(d*x+c)/a^3/b/d/(a+b*sin(d*x+c))^(1/2)+1/3*(4*a^2+15*b^2)*(sin(1/2*c+1/4*Pi+1/2*d*x)^2)^(1/2)/sin(1/
2*c+1/4*Pi+1/2*d*x)*EllipticE(cos(1/2*c+1/4*Pi+1/2*d*x),2^(1/2)*(b/(a+b))^(1/2))*(a+b*sin(d*x+c))^(1/2)/a^3/b^
2/d/((a+b*sin(d*x+c))/(a+b))^(1/2)-1/3*(4*a^2+5*b^2)*(sin(1/2*c+1/4*Pi+1/2*d*x)^2)^(1/2)/sin(1/2*c+1/4*Pi+1/2*
d*x)*EllipticF(cos(1/2*c+1/4*Pi+1/2*d*x),2^(1/2)*(b/(a+b))^(1/2))*((a+b*sin(d*x+c))/(a+b))^(1/2)/a^2/b^2/d/(a+
b*sin(d*x+c))^(1/2)+5*b*(sin(1/2*c+1/4*Pi+1/2*d*x)^2)^(1/2)/sin(1/2*c+1/4*Pi+1/2*d*x)*EllipticPi(cos(1/2*c+1/4
*Pi+1/2*d*x),2,2^(1/2)*(b/(a+b))^(1/2))*((a+b*sin(d*x+c))/(a+b))^(1/2)/a^3/d/(a+b*sin(d*x+c))^(1/2)
________________________________________________________________________________________
Rubi [A]
time = 0.64, antiderivative size = 346, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 10, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.323, Rules used = {2969, 3134,
3138, 2734, 2732, 3081, 2742, 2740, 2886, 2884} \begin {gather*} -\frac {5 b \sqrt {\frac {a+b \sin (c+d x)}{a+b}} \Pi \left (2;\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{a^3 d \sqrt {a+b \sin (c+d x)}}+\frac {\left (2 a^2-5 b^2\right ) \cos (c+d x)}{3 a^2 b d (a+b \sin (c+d x))^{3/2}}+\frac {\left (4 a^2+5 b^2\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}} F\left (\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{3 a^2 b^2 d \sqrt {a+b \sin (c+d x)}}-\frac {\left (4 a^2+15 b^2\right ) \cos (c+d x)}{3 a^3 b d \sqrt {a+b \sin (c+d x)}}-\frac {\left (4 a^2+15 b^2\right ) \sqrt {a+b \sin (c+d x)} E\left (\frac {1}{2} \left (c+d x-\frac {\pi }{2}\right )|\frac {2 b}{a+b}\right )}{3 a^3 b^2 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}-\frac {\cot (c+d x)}{a d (a+b \sin (c+d x))^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
Int[(Cos[c + d*x]^2*Cot[c + d*x]^2)/(a + b*Sin[c + d*x])^(5/2),x]
[Out]
((2*a^2 - 5*b^2)*Cos[c + d*x])/(3*a^2*b*d*(a + b*Sin[c + d*x])^(3/2)) - Cot[c + d*x]/(a*d*(a + b*Sin[c + d*x])
^(3/2)) - ((4*a^2 + 15*b^2)*Cos[c + d*x])/(3*a^3*b*d*Sqrt[a + b*Sin[c + d*x]]) - ((4*a^2 + 15*b^2)*EllipticE[(
c - Pi/2 + d*x)/2, (2*b)/(a + b)]*Sqrt[a + b*Sin[c + d*x]])/(3*a^3*b^2*d*Sqrt[(a + b*Sin[c + d*x])/(a + b)]) +
((4*a^2 + 5*b^2)*EllipticF[(c - Pi/2 + d*x)/2, (2*b)/(a + b)]*Sqrt[(a + b*Sin[c + d*x])/(a + b)])/(3*a^2*b^2*
d*Sqrt[a + b*Sin[c + d*x]]) - (5*b*EllipticPi[2, (c - Pi/2 + d*x)/2, (2*b)/(a + b)]*Sqrt[(a + b*Sin[c + d*x])/
(a + b)])/(a^3*d*Sqrt[a + b*Sin[c + d*x]])
Rule 2732
Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[2*(Sqrt[a + b]/d)*EllipticE[(1/2)*(c - Pi/2
+ d*x), 2*(b/(a + b))], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]
Rule 2734
Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Dist[Sqrt[a + b*Sin[c + d*x]]/Sqrt[(a + b*Sin[c +
d*x])/(a + b)], Int[Sqrt[a/(a + b) + (b/(a + b))*Sin[c + d*x]], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 -
b^2, 0] && !GtQ[a + b, 0]
Rule 2740
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/(d*Sqrt[a + b]))*EllipticF[(1/2)*(c - P
i/2 + d*x), 2*(b/(a + b))], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]
Rule 2742
Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Dist[Sqrt[(a + b*Sin[c + d*x])/(a + b)]/Sqrt[a
+ b*Sin[c + d*x]], Int[1/Sqrt[a/(a + b) + (b/(a + b))*Sin[c + d*x]], x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a
^2 - b^2, 0] && !GtQ[a + b, 0]
Rule 2884
Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp
[(2/(f*(a + b)*Sqrt[c + d]))*EllipticPi[2*(b/(a + b)), (1/2)*(e - Pi/2 + f*x), 2*(d/(c + d))], x] /; FreeQ[{a,
b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[c + d, 0]
Rule 2886
Int[1/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Dist
[Sqrt[(c + d*Sin[e + f*x])/(c + d)]/Sqrt[c + d*Sin[e + f*x]], Int[1/((a + b*Sin[e + f*x])*Sqrt[c/(c + d) + (d/
(c + d))*Sin[e + f*x]]), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && N
eQ[c^2 - d^2, 0] && !GtQ[c + d, 0]
Rule 2969
Int[cos[(e_.) + (f_.)*(x_)]^4*((d_.)*sin[(e_.) + (f_.)*(x_)])^(n_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)
, x_Symbol] :> Simp[Cos[e + f*x]*(d*Sin[e + f*x])^(n + 1)*((a + b*Sin[e + f*x])^(m + 1)/(a*d*f*(n + 1))), x] +
(Dist[1/(a^2*b*d*(n + 1)*(m + 1)), Int[(d*Sin[e + f*x])^(n + 1)*(a + b*Sin[e + f*x])^(m + 1)*Simp[a^2*(n + 1)
*(n + 2) - b^2*(m + n + 2)*(m + n + 3) + a*b*(m + 1)*Sin[e + f*x] - (a^2*(n + 1)*(n + 3) - b^2*(m + n + 2)*(m
+ n + 4))*Sin[e + f*x]^2, x], x], x] - Simp[(a^2*(n + 1) - b^2*(m + n + 2))*Cos[e + f*x]*(d*Sin[e + f*x])^(n +
2)*((a + b*Sin[e + f*x])^(m + 1)/(a^2*b*d^2*f*(n + 1)*(m + 1))), x]) /; FreeQ[{a, b, d, e, f}, x] && NeQ[a^2
- b^2, 0] && IntegersQ[2*m, 2*n] && LtQ[m, -1] && LtQ[n, -1]
Rule 3081
Int[(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)]))/((c_.) + (d_.)*sin[
(e_.) + (f_.)*(x_)]), x_Symbol] :> Dist[B/d, Int[(a + b*Sin[e + f*x])^m, x], x] - Dist[(B*c - A*d)/d, Int[(a +
b*Sin[e + f*x])^m/(c + d*Sin[e + f*x]), x], x] /; FreeQ[{a, b, c, d, e, f, A, B, m}, x] && NeQ[b*c - a*d, 0]
&& NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Rule 3134
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_)*((A_.) + (B_.)*s
in[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^2), x_Symbol] :> Simp[(-(A*b^2 - a*b*B + a^2*C))*Cos[e
+ f*x]*(a + b*Sin[e + f*x])^(m + 1)*((c + d*Sin[e + f*x])^(n + 1)/(f*(m + 1)*(b*c - a*d)*(a^2 - b^2))), x] + D
ist[1/((m + 1)*(b*c - a*d)*(a^2 - b^2)), Int[(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^n*Simp[(m + 1)*
(b*c - a*d)*(a*A - b*B + a*C) + d*(A*b^2 - a*b*B + a^2*C)*(m + n + 2) - (c*(A*b^2 - a*b*B + a^2*C) + (m + 1)*(
b*c - a*d)*(A*b - a*B + b*C))*Sin[e + f*x] - d*(A*b^2 - a*b*B + a^2*C)*(m + n + 3)*Sin[e + f*x]^2, x], x], x]
/; FreeQ[{a, b, c, d, e, f, A, B, C, n}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] &&
LtQ[m, -1] && ((EqQ[a, 0] && IntegerQ[m] && !IntegerQ[n]) || !(IntegerQ[2*n] && LtQ[n, -1] && ((IntegerQ[n]
&& !IntegerQ[m]) || EqQ[a, 0])))
Rule 3138
Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (f_.)*(x_)]^2)/(Sqrt[(a_.) + (b_.)*sin[(e_.) +
(f_.)*(x_)]]*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])), x_Symbol] :> Dist[C/(b*d), Int[Sqrt[a + b*Sin[e + f*x]]
, x], x] - Dist[1/(b*d), Int[Simp[a*c*C - A*b*d + (b*c*C - b*B*d + a*C*d)*Sin[e + f*x], x]/(Sqrt[a + b*Sin[e +
f*x]]*(c + d*Sin[e + f*x])), x], x] /; FreeQ[{a, b, c, d, e, f, A, B, C}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2
- b^2, 0] && NeQ[c^2 - d^2, 0]
Rubi steps
\begin {align*} \int \frac {\cos ^2(c+d x) \cot ^2(c+d x)}{(a+b \sin (c+d x))^{5/2}} \, dx &=\frac {\left (2 a^2-5 b^2\right ) \cos (c+d x)}{3 a^2 b d (a+b \sin (c+d x))^{3/2}}-\frac {\cot (c+d x)}{a d (a+b \sin (c+d x))^{3/2}}+\frac {2 \int \frac {\csc (c+d x) \left (-\frac {15 b^2}{4}-\frac {3}{2} a b \sin (c+d x)+\frac {1}{4} \left (4 a^2+5 b^2\right ) \sin ^2(c+d x)\right )}{(a+b \sin (c+d x))^{3/2}} \, dx}{3 a^2 b}\\ &=\frac {\left (2 a^2-5 b^2\right ) \cos (c+d x)}{3 a^2 b d (a+b \sin (c+d x))^{3/2}}-\frac {\cot (c+d x)}{a d (a+b \sin (c+d x))^{3/2}}-\frac {\left (4 a^2+15 b^2\right ) \cos (c+d x)}{3 a^3 b d \sqrt {a+b \sin (c+d x)}}+\frac {4 \int \frac {\csc (c+d x) \left (-\frac {15}{8} b^2 \left (a^2-b^2\right )-\frac {5}{4} a b \left (a^2-b^2\right ) \sin (c+d x)-\frac {1}{8} \left (4 a^4+11 a^2 b^2-15 b^4\right ) \sin ^2(c+d x)\right )}{\sqrt {a+b \sin (c+d x)}} \, dx}{3 a^3 b \left (a^2-b^2\right )}\\ &=\frac {\left (2 a^2-5 b^2\right ) \cos (c+d x)}{3 a^2 b d (a+b \sin (c+d x))^{3/2}}-\frac {\cot (c+d x)}{a d (a+b \sin (c+d x))^{3/2}}-\frac {\left (4 a^2+15 b^2\right ) \cos (c+d x)}{3 a^3 b d \sqrt {a+b \sin (c+d x)}}-\frac {4 \int \frac {\csc (c+d x) \left (\frac {15}{8} b^3 \left (a^2-b^2\right )-\frac {1}{8} a \left (4 a^4+a^2 b^2-5 b^4\right ) \sin (c+d x)\right )}{\sqrt {a+b \sin (c+d x)}} \, dx}{3 a^3 b^2 \left (a^2-b^2\right )}-\frac {\left (4 a^4+11 a^2 b^2-15 b^4\right ) \int \sqrt {a+b \sin (c+d x)} \, dx}{6 a^3 b^2 \left (a^2-b^2\right )}\\ &=\frac {\left (2 a^2-5 b^2\right ) \cos (c+d x)}{3 a^2 b d (a+b \sin (c+d x))^{3/2}}-\frac {\cot (c+d x)}{a d (a+b \sin (c+d x))^{3/2}}-\frac {\left (4 a^2+15 b^2\right ) \cos (c+d x)}{3 a^3 b d \sqrt {a+b \sin (c+d x)}}+\frac {1}{6} \left (\frac {5}{a^2}+\frac {4}{b^2}\right ) \int \frac {1}{\sqrt {a+b \sin (c+d x)}} \, dx-\frac {(5 b) \int \frac {\csc (c+d x)}{\sqrt {a+b \sin (c+d x)}} \, dx}{2 a^3}-\frac {\left (\left (4 a^4+11 a^2 b^2-15 b^4\right ) \sqrt {a+b \sin (c+d x)}\right ) \int \sqrt {\frac {a}{a+b}+\frac {b \sin (c+d x)}{a+b}} \, dx}{6 a^3 b^2 \left (a^2-b^2\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}\\ &=\frac {\left (2 a^2-5 b^2\right ) \cos (c+d x)}{3 a^2 b d (a+b \sin (c+d x))^{3/2}}-\frac {\cot (c+d x)}{a d (a+b \sin (c+d x))^{3/2}}-\frac {\left (4 a^2+15 b^2\right ) \cos (c+d x)}{3 a^3 b d \sqrt {a+b \sin (c+d x)}}-\frac {\left (4 a^2+15 b^2\right ) E\left (\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {a+b \sin (c+d x)}}{3 a^3 b^2 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}+\frac {\left (\left (\frac {5}{a^2}+\frac {4}{b^2}\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}\right ) \int \frac {1}{\sqrt {\frac {a}{a+b}+\frac {b \sin (c+d x)}{a+b}}} \, dx}{6 \sqrt {a+b \sin (c+d x)}}-\frac {\left (5 b \sqrt {\frac {a+b \sin (c+d x)}{a+b}}\right ) \int \frac {\csc (c+d x)}{\sqrt {\frac {a}{a+b}+\frac {b \sin (c+d x)}{a+b}}} \, dx}{2 a^3 \sqrt {a+b \sin (c+d x)}}\\ &=\frac {\left (2 a^2-5 b^2\right ) \cos (c+d x)}{3 a^2 b d (a+b \sin (c+d x))^{3/2}}-\frac {\cot (c+d x)}{a d (a+b \sin (c+d x))^{3/2}}-\frac {\left (4 a^2+15 b^2\right ) \cos (c+d x)}{3 a^3 b d \sqrt {a+b \sin (c+d x)}}-\frac {\left (4 a^2+15 b^2\right ) E\left (\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {a+b \sin (c+d x)}}{3 a^3 b^2 d \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}+\frac {\left (\frac {5}{a^2}+\frac {4}{b^2}\right ) F\left (\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}{3 d \sqrt {a+b \sin (c+d x)}}-\frac {5 b \Pi \left (2;\frac {1}{2} \left (c-\frac {\pi }{2}+d x\right )|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}{a^3 d \sqrt {a+b \sin (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 13.73, size = 445, normalized size = 1.29 \begin {gather*} \frac {\frac {2 i \left (4 a^2+15 b^2\right ) \left (-2 a (a-b) E\left (i \sinh ^{-1}\left (\sqrt {-\frac {1}{a+b}} \sqrt {a+b \sin (c+d x)}\right )|\frac {a+b}{a-b}\right )+b \left (-2 a F\left (i \sinh ^{-1}\left (\sqrt {-\frac {1}{a+b}} \sqrt {a+b \sin (c+d x)}\right )|\frac {a+b}{a-b}\right )+b \Pi \left (\frac {a+b}{a};i \sinh ^{-1}\left (\sqrt {-\frac {1}{a+b}} \sqrt {a+b \sin (c+d x)}\right )|\frac {a+b}{a-b}\right )\right )\right ) \sec (c+d x) \sqrt {-\frac {b (-1+\sin (c+d x))}{a+b}} \sqrt {-\frac {b (1+\sin (c+d x))}{a-b}}}{a b^2 \sqrt {-\frac {1}{a+b}}}+\frac {40 a b F\left (\frac {1}{4} (-2 c+\pi -2 d x)|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}{\sqrt {a+b \sin (c+d x)}}+\frac {2 \left (4 a^2+45 b^2\right ) \Pi \left (2;\frac {1}{4} (-2 c+\pi -2 d x)|\frac {2 b}{a+b}\right ) \sqrt {\frac {a+b \sin (c+d x)}{a+b}}}{\sqrt {a+b \sin (c+d x)}}-\frac {2 \left (4 a \left (a^2+10 b^2\right ) \cos (c+d x)+6 a^2 b \cot (c+d x)+b \left (4 a^2+15 b^2\right ) \sin (2 (c+d x))\right )}{(a+b \sin (c+d x))^{3/2}}}{12 a^3 b d} \end {gather*}
Antiderivative was successfully verified.
[In]
Integrate[(Cos[c + d*x]^2*Cot[c + d*x]^2)/(a + b*Sin[c + d*x])^(5/2),x]
[Out]
(((2*I)*(4*a^2 + 15*b^2)*(-2*a*(a - b)*EllipticE[I*ArcSinh[Sqrt[-(a + b)^(-1)]*Sqrt[a + b*Sin[c + d*x]]], (a +
b)/(a - b)] + b*(-2*a*EllipticF[I*ArcSinh[Sqrt[-(a + b)^(-1)]*Sqrt[a + b*Sin[c + d*x]]], (a + b)/(a - b)] + b
*EllipticPi[(a + b)/a, I*ArcSinh[Sqrt[-(a + b)^(-1)]*Sqrt[a + b*Sin[c + d*x]]], (a + b)/(a - b)]))*Sec[c + d*x
]*Sqrt[-((b*(-1 + Sin[c + d*x]))/(a + b))]*Sqrt[-((b*(1 + Sin[c + d*x]))/(a - b))])/(a*b^2*Sqrt[-(a + b)^(-1)]
) + (40*a*b*EllipticF[(-2*c + Pi - 2*d*x)/4, (2*b)/(a + b)]*Sqrt[(a + b*Sin[c + d*x])/(a + b)])/Sqrt[a + b*Sin
[c + d*x]] + (2*(4*a^2 + 45*b^2)*EllipticPi[2, (-2*c + Pi - 2*d*x)/4, (2*b)/(a + b)]*Sqrt[(a + b*Sin[c + d*x])
/(a + b)])/Sqrt[a + b*Sin[c + d*x]] - (2*(4*a*(a^2 + 10*b^2)*Cos[c + d*x] + 6*a^2*b*Cot[c + d*x] + b*(4*a^2 +
15*b^2)*Sin[2*(c + d*x)]))/(a + b*Sin[c + d*x])^(3/2))/(12*a^3*b*d)
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(2111\) vs.
\(2(419)=838\).
time = 11.68, size = 2112, normalized size = 6.10
| | |
method |
result |
size |
| | |
default |
\(\text {Expression too large to display}\) |
\(2112\) |
| | |
|
|
|
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(cos(d*x+c)^2*cot(d*x+c)^2/(a+b*sin(d*x+c))^(5/2),x,method=_RETURNVERBOSE)
[Out]
-1/3*(-11*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*Ellip
ticE(((a+b*sin(d*x+c))/(a-b))^(1/2),((a-b)/(a+b))^(1/2))*a^3*b^3*sin(d*x+c)^2+15*((a+b*sin(d*x+c))/(a-b))^(1/2
)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*EllipticE(((a+b*sin(d*x+c))/(a-b))^(1/2),((a
-b)/(a+b))^(1/2))*a*b^5*sin(d*x+c)^2-15*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+si
n(d*x+c))*b/(a-b))^(1/2)*EllipticPi(((a+b*sin(d*x+c))/(a-b))^(1/2),(a-b)/a,((a-b)/(a+b))^(1/2))*a*b^5*sin(d*x+
c)^2+4*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*Elliptic
F(((a+b*sin(d*x+c))/(a-b))^(1/2),((a-b)/(a+b))^(1/2))*a^5*b*sin(d*x+c)+6*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin
(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*EllipticF(((a+b*sin(d*x+c))/(a-b))^(1/2),((a-b)/(a+b
))^(1/2))*a^4*b^2*sin(d*x+c)+5*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))
*b/(a-b))^(1/2)*EllipticF(((a+b*sin(d*x+c))/(a-b))^(1/2),((a-b)/(a+b))^(1/2))*a^3*b^3*sin(d*x+c)-15*((a+b*sin(
d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*EllipticF(((a+b*sin(d*x+c
))/(a-b))^(1/2),((a-b)/(a+b))^(1/2))*a^2*b^4*sin(d*x+c)-11*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(
a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*EllipticE(((a+b*sin(d*x+c))/(a-b))^(1/2),((a-b)/(a+b))^(1/2))*a^4*
b^2*sin(d*x+c)+15*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/
2)*EllipticE(((a+b*sin(d*x+c))/(a-b))^(1/2),((a-b)/(a+b))^(1/2))*a^2*b^4*sin(d*x+c)-15*((a+b*sin(d*x+c))/(a-b)
)^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*EllipticPi(((a+b*sin(d*x+c))/(a-b))^(1
/2),(a-b)/a,((a-b)/(a+b))^(1/2))*a^2*b^4*sin(d*x+c)+15*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b)
)^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*EllipticPi(((a+b*sin(d*x+c))/(a-b))^(1/2),(a-b)/a,((a-b)/(a+b))^(1/2))
*a*b^5*sin(d*x+c)+4*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(
1/2)*EllipticF(((a+b*sin(d*x+c))/(a-b))^(1/2),((a-b)/(a+b))^(1/2))*a^4*b^2*sin(d*x+c)^2+6*((a+b*sin(d*x+c))/(a
-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*EllipticF(((a+b*sin(d*x+c))/(a-b))^
(1/2),((a-b)/(a+b))^(1/2))*a^3*b^3*sin(d*x+c)^2+5*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/
2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*EllipticF(((a+b*sin(d*x+c))/(a-b))^(1/2),((a-b)/(a+b))^(1/2))*a^2*b^4*sin(d
*x+c)^2-15*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*Elli
pticF(((a+b*sin(d*x+c))/(a-b))^(1/2),((a-b)/(a+b))^(1/2))*a*b^5*sin(d*x+c)^2-4*((a+b*sin(d*x+c))/(a-b))^(1/2)*
(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*EllipticE(((a+b*sin(d*x+c))/(a-b))^(1/2),((a-b
)/(a+b))^(1/2))*a^5*b*sin(d*x+c)^2+15*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(
d*x+c))*b/(a-b))^(1/2)*EllipticPi(((a+b*sin(d*x+c))/(a-b))^(1/2),(a-b)/a,((a-b)/(a+b))^(1/2))*b^6*sin(d*x+c)^2
-4*((a+b*sin(d*x+c))/(a-b))^(1/2)*(-(sin(d*x+c)-1)*b/(a+b))^(1/2)*(-(1+sin(d*x+c))*b/(a-b))^(1/2)*EllipticE(((
a+b*sin(d*x+c))/(a-b))^(1/2),((a-b)/(a+b))^(1/2))*a^6*sin(d*x+c)+3*a^3*b^3-20*a^2*b^4*sin(d*x+c)^3+15*a*b^5*si
n(d*x+c)^2+2*a^4*b^2*sin(d*x+c)+20*a^2*b^4*sin(d*x+c)+a^3*b^3*sin(d*x+c)^2-4*a^3*b^3*sin(d*x+c)^4-15*a*b^5*sin
(d*x+c)^4-2*a^4*b^2*sin(d*x+c)^3)/a^4/sin(d*x+c)/(a+b*sin(d*x+c))^(3/2)/b^3/cos(d*x+c)/d
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^2*cot(d*x+c)^2/(a+b*sin(d*x+c))^(5/2),x, algorithm="maxima")
[Out]
integrate(cos(d*x + c)^2*cot(d*x + c)^2/(b*sin(d*x + c) + a)^(5/2), x)
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^2*cot(d*x+c)^2/(a+b*sin(d*x+c))^(5/2),x, algorithm="fricas")
[Out]
Timed out
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\cos ^{2}{\left (c + d x \right )} \cot ^{2}{\left (c + d x \right )}}{\left (a + b \sin {\left (c + d x \right )}\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)**2*cot(d*x+c)**2/(a+b*sin(d*x+c))**(5/2),x)
[Out]
Integral(cos(c + d*x)**2*cot(c + d*x)**2/(a + b*sin(c + d*x))**(5/2), x)
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(cos(d*x+c)^2*cot(d*x+c)^2/(a+b*sin(d*x+c))^(5/2),x, algorithm="giac")
[Out]
Timed out
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\cos \left (c+d\,x\right )}^2\,{\mathrm {cot}\left (c+d\,x\right )}^2}{{\left (a+b\,\sin \left (c+d\,x\right )\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((cos(c + d*x)^2*cot(c + d*x)^2)/(a + b*sin(c + d*x))^(5/2),x)
[Out]
int((cos(c + d*x)^2*cot(c + d*x)^2)/(a + b*sin(c + d*x))^(5/2), x)
________________________________________________________________________________________